Data modeling in UML and ORM revisited
نویسنده
چکیده
Although the traditional entity relationship approach is still the most widely applied technique for modeling database applications, object-oriented approaches and fact-oriented approaches are being increasingly used for data modeling in general. The most popular exemplars of the latter two approaches are respectively the Unified Modeling Language (UML) and Object-Role Modeling (ORM). An initial, comparative evaluation of these approaches indicated that UML has benefits for object-oriented code design (e.g. implementation detail, including behavior), while ORM has advantages for conceptual data modeling (e.g. semantic stability, graphical expressibility; clarity and validation mechanisms). This paper further examines the relative strengths and weaknesses of ORM and UML for data modeling, focusing on attribute multiplicity, association arity, advanced constraints and subtyping. This analysis is given wider generality by addressing various language design principles (e.g. parsimony, orthogonality, convenience, expressibility) and illustrating how metamodel extensibility can be used to capture some features of one approach within the other.
منابع مشابه
UML Data Models From An ORM Perspective
This paper is the sixth in a series of articles examining data modeling in the Unified Modeling Language (UML) from the perspective of Object Role Modeling (ORM). Part 1 discussed historical background, design criteria for modeling languages, object reference and single-valued attributes. Part 2 covered multi-valued attributes, basic constraints, and instantiation using UML object diagrams or O...
متن کاملUML data models from an ORM perspective : Part 10
This paper is the tenth in a series of articles examining data modeling in the Unified Modeling Language (UML) from the perspective of Object Role Modeling (ORM). Part 1 discussed historical background, language design criteria, object reference and singlevalued attributes. Part 2 covered multi-valued attributes, basic constraints, and instantiation using UML object diagrams or ORM fact tables....
متن کاملUML data models from an ORM perspective : Part 8
This paper is the eighth in a series of articles examining data modeling in the Unified Modeling Language (UML) from the perspective of Object Role Modeling (ORM). Part 1 discussed historical background, design criteria for modeling languages, object reference and single-valued attributes. Part 2 covered multi-valued attributes, basic constraints, and instantiation using UML object diagrams or ...
متن کاملUML data models from an ORM perspective : Part 9
This paper is the ninth in a series of articles examining data modeling in the Unified Modeling Language (UML) from the perspective of Object Role Modeling (ORM). Part 1 discussed historical background, language design criteria, object reference and singlevalued attributes. Part 2 covered multi-valued attributes, basic constraints, and instantiation using UML object diagrams or ORM fact tables....
متن کاملSupplementing UML with concepts from ORM
The Unified Modeling Language (UML) is useful for designing object-oriented code, but is less suitable for conceptual data analysis. Its process-centric usecases provide an inadequate basis for specifying data-centric class diagrams, and the UML graphical language suffers from incompleteness, inconsistency and unnecessary complexity. For example, multiplicity constraints can lead to unexpected ...
متن کامل